Xantrex Inverter by CCU2 Communication Driver

 

Xantrex Inverter by CCU2 is driver to communicate with inverter of Xantrex Technology Inc. in Canada.

 

1. Read settings

 

<Figure 1> is read setting example of Xantrex Inverter by CCU2 driver.

<Figure 1> Read setting example of Xantrex Inverter by CCU2 driver

Device Setting of <Figure 1> are input, Com Port(COM1), Com Baud(9600), Parity Bit(0), Data Bit(8), Stop Bit(1).

Also, input the password(Default = XANTREX) which is set at device.

 

Xantrex Inverter by CCU2 driver read schedule

Read schedule setting parameters are as follows :

1) Station : Don't care. Input as 0.

2) Data Type : Data type to read.

STS = Command of reading state,

ID = Read basic Parameter, input basic Parameter(ID) address to address to read,

EXT = Read extension Parameter, input extension Parameter address to address to read,

32BIT = Read extension 32 BIT, input extension Parameter address to address to read,

GET_MSG = Read GUI Message Parameter,

VER = Read version information,

TIME = Read a time of current inverter.

3) Read Start Address : Parameter ID address to read when data type is ID, EXT, 32BIT.

4) Save Start Address for Communication Server : Saving start address of Communication Server.

5) Read Size : Data size to read. (Fixed to 1, it is saved as order of <Table 1>)

 

Read schedule example)

READ,     0,   STS,    0,    0,   1,

READ,     0,    ID,     1,   10,   1,

READ,     0,    ID,     5,   11,   1,

READ,     0,    ID,     6,   12,   1,

READ,     0,    ID,     7,   13,   1,

READ,     0,    ID,     8,   14,   1,

READ,     0,    ID,     9,   15,   1,

READ,     0,    ID,    10,   16,   1,

 

<Table 1> is save address and contents by data type of Xantrex Inverter by CCU2 communication driver.

<Table 2> is save address and contents for read value of STS data type.

Also, <Table 3> is contents according to ID address of Xantrex Inverter by CCU2 communication driver.

 

Xantrex Inverter by CCU2 communication driver save the read data to same address of WORD/DWORD/FLOAT memory, but data format is different.

Data Type Save Address Save Contents
STS Refer to <Table 2>
ID Save Address + 0

Save WORD data,  (Refer to save contents by ID of <Table 3>)

EXT Save Address + 0

Save Double WORD data, (Save in string memory, too)

(Refer to expansion Parameter address and save value of chapter 4 or Inverter manual)

32BIT
GET_MSG Save Address + 0
Save Address + 1
Save Address + 2
Save Address + 3 ~ 12

Current state, (Same value with Current state of <Table 2>)

Fault value, (WORD data, refer to inverterĄ¯s O&M Manual about detail value)

Not used, (WORD data)

ID1 ~ ID10 value. (WORD data)

VER Save Address + 0

Software version information of Double WORD value

TIME Save Address + 0
Save Address + 1
Save Address + 2
Save Address + 3
Save Address + 4
Save Address + 5

Inverter second of current time,

Inverter minute of current time,

Inverter hour of current time,

Inverter day of current time,

Inverter month of current time,

Inverter year of current time.

<Table 1> Data save address and contents by data type of Xantrex Inverter by CCU2 communication driver
Save Address Save Contents Data Range
Save Address + 0 Goal state

2 = SYS_SHUTDOWN, (IDLE, wait PV enter standby state)

4 = SYS_POWER_TRACKING, (regulates PV power)

5 = SYS_MANUAL_CURRENT, (regulates current)

6 = SYS_MATRIX_TEST. (matrix blinking test)

Save Address + 1 Current state

0 = SYS_INITIALIZING, (power on state)

1 = SYS_KEY_DISABLE, (key disable or remote disable)

2 = SYS_SHUTDOWN, (IDLE, wait PV enter standby state)

3 = SYS_STARTING, (system is moving into power tracking state)

4 = SYS_POWER_TRACKING, (regulates PV power)

5 = SYS_MANUAL_CURRENT, (regulates current)

6 = SYS_MATRIX_TEST, (matrix blinking test)

7 = SYS_FAULTED, (system has fault, wait clear fault command)

8 = SYS_DISPATCHING. (not a state, internal routing only)

Save Address + 2 Fault value

WORD data, refer to inverterĄ¯s O&M Manual about detail value

Save Address + 3 Inverter state

0 = INV_SHUTDOWN, (turn off matrix, open contactor, initial parameter)

1 = INV_STANDBY, (idle, matrix off, contactor open)

2 = INV_STARTING, (main AC contactor closed)

3 = INV_MAIN_SETTLING, (main AC contactor settling time)

4 = INV_ONLINE. (on line, current mode)

Save Address + 4 PV state

0 = PV_SHUTDOWN, (initial parameter)

1 = PV_SLEEP, (wait voltage)

2 = PV_WAKEUP, (in the wake up period)

3 = PV_ONLINE, (regulate power or current)

4 = PV_SLEEP_TEST. (regulate power of current, sleep test active)

Save Address + 5 Software version

Double WORD data value

<Table 2> Data save address and contents for STS data type to read of Xantrex Inverter by CCU2 communication driver
<Table 3> Contents by ID address for ID read data type of Xantrex Inverter by CCU2 communication driver

If you click the icon  in protocol option part, you can see the dialog box such as <Figure 2>. you can also set read schedule by using this part.

<Figure 2> Example of Xantrex Inverter by CCU2 driver Option dialog box

You can set read schedule by using , , button and listbox of <Figure 2>.

<Figure 3> Xantrex Inverter by CCU2 driver read schedule Add/Edit dialog box

When you click Add button or Edit button in dialog box of <Figure 2>, dialog box of <Figure 3> is shown.

 

2. Write settings

You can set Parameter value etc by using writing setting.

 

Digital Write

Digital write and analog write have the same setting parameters except output value. 

 

Analog Write

Analog write setting parameters are as follows :

1) Port : Connected Port no. (It is not COM no.)

2) Station : Don't care.

3) Address : Decimal Parameter ID address to use when write type is ID, EXT.

  Other write type isn't used. (Set as 0)

4) Extra1 : Set write type.

ID = Basic Parameter write, input basic Parameter(ID) to Address,

EXT = Extension Parameter write, extension Parameter to Address,

SHUT : Command for converting inverter into fault state, (Don't care output value)

FAULT: Command for converting inverter into fault state, (Don't care output value)

CLR_FLT : Command for cancelling Inverter fault state, (Don't care output value)

GOAL : Command for setting goal state, Input the output value as Goal state value(of 2, 4, 5, 6) of <Table 2>,

TIME: Command for changing Inverter current time as computer current time, (Don't care output value)

RST_KWH : Command for Resetting the power integration value as 0, (Don't care output value)

END_PHO : Command for exiting modem connection. (Don't care output value)

5) Extra2 : Don't care. Set as blank or 0.

 

Write example 1)

PORT : 0   STATION : 0   ADDRESS : 0000  EXTRA1 : TIME  EXTRA2 : Blank

If you set as above and output the analog value, you can change current time of Xantrex Inverter connected to no.0 port, as computer current time.

 

Write example 2)

PORT : 0   STATION : 0   ADDRESS : 0000  EXTRA1 : RST_KWH  EXTRA2 : Blank

If you set as above and output the analog value, you can Reset power value of Xantrex Inverter connected to no.0 port as 0.

 

3. Communication cable connection

Xantrex Inverter by CCU2 equipment has 2 serial port such as type of <Table 4>.

Connect communication cable and power appropriately.

<Table 4> Type by serial port of Xantrex Inverter by CCU2

4. Expansion Parameter

<Table 5> is contents for expansion Paramter ID of Xantrex Inverter by CCU2 equipment.

 
<Table 5> Contents for expansion Parameter ID of Xantrex Inverter by CCU2 equipment